package com.lsl.bridge;

/**
 * @author Zed
 * @description
 * @date 2022/11/28 20:36
 */
public class DisplayClient {
    public static void main(String[] args) {
        Display display1 = new Display(new StringDisplayImpl("Hello,China."));
        Display display2 = new CountDisplay(new StringDisplayImpl("Hello,World."));
        CountDisplay display3 = new CountDisplay(new StringDisplayImpl("Hello,Universe."));
        display1.display();
        display2.display();
        display3.display();
        display3.multiDisplay(5);
    }
}
